/**
 * Copyright 2012 Fonfon.Fenceer
 * All rights reserved.
 * 
 * @project 
 * @author Fonfon.Fenceer
 * @version 1.0
 * @data 2012-3-18
 */
package com.guidecaptain.java.service;

import java.util.List;

import com.guidecaptain.java.model.pojo.Certificate;
import com.guidecaptain.java.model.vo.CertificateVO;

/**
 * 
 * @author fenceer
 */
public interface CertificateService {
	int insertCertificate(Certificate certificate);

	int deleteCertificate(int ctfId);

	int updateCertificate(Certificate certificate);

	/**
	 * 根据证件ID获得单本证件
	 * 
	 * @param ctfId
	 * @return
	 */
	CertificateVO queryCertificate(int ctfId);

	/**
	 * 根据导游ID获得导游证件列表
	 * 
	 * @param guideId
	 * @return
	 */
	List<CertificateVO> queryCertificateList(int guideId);

	boolean checkCtfRemind(int guideId);

}
